package com.dundun.pattern.template;

public class TempleteMain {
    public static void main(String[] args) {
        AbstractDisplay cd = new CharDisplay('H');
        AbstractDisplay sd = new StringDisplay("hello world");
        cd.display();
        sd.display();
    }
}
